package com.icangya.DAO;

import com.icangya.domain.FbOrder;

import java.util.List;


public interface IFbOrderDAO extends IBaseDAO<FbOrder> {

    //根据订单号查询订单信息
    FbOrder getFbOrderByOrderId(String orderId);

    //查询所有订单
    List<FbOrder> getFbOrderAll();


    //根据状态查询所有订单
    List<FbOrder> getFbOrderStatusAll(int status,int paymentStatus);

    //查询用户所有订单
    List<FbOrder> getUserFbOrder(String openId);

    //根据订单号查询订单信息
    List<FbOrder> getOrderByOutTrantId(String orderNum);

}
